package org.jcommon.com.util.share;

import java.util.Map;

public interface ShareHandle {
	public void  addObject(String request, ShareListener listener, Object key, Object value);
	
	public void  hasObject(String request, ShareListener listener, Object key);
	
	public void  updateObject(String request, ShareListener listener, Object key, Object value);
	
	public void  getObject(String request, ShareListener listener, Object key);
	
	public void  removeObject(String request, ShareListener listener, Object key);
	
	public void  getAllObject(String request, ShareListener listener);
	
	
	public boolean  addObject(Object key, Object value);
	
	public boolean  hasObject(Object key);
	
	public boolean  updateObject(Object key, Object value);
	
	public Object  getObject(Object key);
	
	public boolean  removeObject(Object key);
	
	public Map<Object, Object>  getAllObject();
}
